SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1708693918166783dbdcb969e3bb70eda3cd54f80c39968cb5ba6699d4a8ed42' 
  AND token = 'wDGl2fODV4aUmg0OGE3ITleww1Dp/S/D+ZJ0tKGqDWQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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