SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2a573612f8faa4eed419260d12581c443af2224620f759b442e02438c216e0f' 
  AND token = 'iXugXSGYorX5/x6DA28snyKluNqInk2UMmtZ3sW57cs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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