SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '513dcde262e3719cd188e45ecadaa129115ab33af0e461420d4fd0e2add9c7a1' 
  AND token = 'egKTOoChAKj3dzBMkN0K3Q25O1xSeEoigBY2zA0JysA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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