SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b2295e3bff38f6e2c2ba669fba59c10966d4d3d20b8ae092ec637b319631163b' 
  AND token = '25ipaz3EvCETZ99VaK42Inv+T3GIaJhiE1COydeuptw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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