SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a94b0f23cd9b112090c8bb14842b399aa205be5b6e91cfc7abe43d063f1fee5' 
  AND token = 'aHT0tq4XkRxrGCyeqhpqKb184fbU9oRmX+5J1U7RGZE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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