SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '396211d68b991e45f1bc1677786a030be7ed55279f009300b97b9dcfe378eb9f' 
  AND token = 'xP/uLA0WoDxOGeFB18yjGV5FT/4V0rEbqwbETyU7VgM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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