SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd850202222155bc9490802c4dc32ba315c7b43fe5b06f181ebee0588c7b56a90' 
  AND token = 'IJUlG85ZZBvtnlFxygbgdXxD9YLMX8ivM1gRlOXqV8k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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