SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '598b84c7e5678d795d52dba79b5c9124cbf6183e93473609bdbf7309323fdc43' 
  AND token = 'YBrkHxoH2+l9iDlmQDFYKeZq25bw+s3JXfX2InW3VuQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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