SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd017e5ef9b8a1bdbfdc8b9200068e869870700e39bb623b07744410743f2ce7' 
  AND token = '6PDwNOCQiieUWtsRgCBCWg8fMJWyyr5JBHf0sWKLlfU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00088

JSON explain

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