SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7174510eb781efb3e30577304c2adb4f788a5caee532690b33856499fb6cd24d' 
  AND token = 'yWx+tTE42EnFK/AjTJf+pBAdN1sbI1E3Og21+5LGaO4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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