SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5d1dd8672b6be3d0468e4d4c02098b10e722f00c9c48c11adba18a95acdf231' 
  AND token = '77ALKGvSl55RylMh27Nzm6ZkZWFd2E0StGCm7wYmi00=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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