SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '504ca86670315989f445a54f326e1b7312a3e563f875e56e23bb333349960460' 
  AND token = 'QzFj2TYqqj3ZXopApEiGV/USVjAP1LLeHLurNR3pT4k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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