SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '257b915fc7c7b7d91992b1f1c16d30a75125cf3bbe95ad4ea2238b6058d94bca' 
  AND token = 'Qlk4VpthGoiQ9EUHPM02vJ2hixKSyZBRbzEoAMw9SnA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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