SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5b1066b5d799fc480030d9fb9d18362f2e1a4bee7e48ea833c1d1cdd4f5fc2d' 
  AND token = 'zXLrI8n6p8P3gS41AL2COM4Isph56uk7RCF2pB/CWVg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}