SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f56df7f12a55eab4974110b0dceddff338d4851643434820e55adbc0aa7c076e' 
  AND token = '4iPEdHGMd4T1m7xnoeQhwTAaFpFBvJiY14J4BVGLZ7w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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