SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ebc2fa9d4a177258b83e1ecfc0d9fbd6e18d0c49e955e5ef8ded3307a1166ce' 
  AND token = '6Ib4DOvSVjCJKi+gAHbJZCmAowYhAM9LtS0qyb35O4o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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