SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5399f2c09290a3963c0fa274741e891506e750ccfc745c41a7343699815824c1' 
  AND token = 'J/d5ykhgInYyLydnovlG1ITV1bQPgVi3cvfsiyxivRo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}