SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba276679c3312fdce54ea8d9938ec4f7f0f486d40567ca2af31860815f658c65' 
  AND token = 'D329OdGXHnwmCdyEXQcIKF5H9Jwl8k6IE26I2qvEQlc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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