SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d2a3fddb6e9d553be794f1f8777fa52239ca7005864ca48e0f5dcf5161b7247' 
  AND token = 'iMmfd5NdFglXi0s/zyUwxPYq4bhaP6ENKn77m7Xy3DY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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