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

Query time 0.00013

JSON explain

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