SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d5711c2bbcae86729a4e1423a657556d9b6a717e9c36159306ae94ff79a7ebc' 
  AND token = 'Dyj+Mhn4PtZknuqFlWOdI6E5TQ6UI1dUIy4by0vxuLg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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