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

Query time 0.00023

JSON explain

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