SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccadfc8d2ae135a4ed9854c48e61962280e8a8b3d97dc36d77a42e0f3dce9dc2' 
  AND token = 'DBFiIfKOdD920h/qd/NQw9Dqv13T5MVqds2ma6MPZuk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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