SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ebcfd69fd356dedb7e24f7ebce3b941404c3042300fa99e02faabdcd31bf050' 
  AND token = 'n2jU7I8JMhvH72mTDsrdApXsGlVf1ef9laGDMF5zado=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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