SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b64d4d342b7ff379a6224ba4b8715f795d4f55d433541dcdad49771e00b8dc3e' 
  AND token = 'o5WOkMzPBAUb39vveKeoauyZYOuO6cg3ItuU30M7ke4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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