SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed31951566718282ffce050ec0f301215153c1b38cead999468561afcd8caf50' 
  AND token = '5fL5+jmf1c620ETT4SU290gXQNtanFd6S17VFCz/+Gc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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