SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0deda8ef253ed2655dcdd3d547b7f7e338d5d6b7e21ea0924f220403c3f8df9f' 
  AND token = 'BFxR91K2k8lcLrTyoQbY/r44U2Z6EA9eQxgyuYzCAo8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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