SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34f5dc04ea88041c8f7e3bc698e7f084e6dafa6a017d851b71b84f4f483cd796' 
  AND token = 'dHzKanRd/MLd9UPQ2oZ57wePlHe6VNMuMrUCAx048/g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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