SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '604ee4257ef0591ae039aca50e434b439e726496b146f92e0086844aedaf6e9a' 
  AND token = 'EOTQwfBUqo2k1LY7Bwi7+NgD1eyZd8OA6Vj/8mOEn8o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}