SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23ca280eb4a2e5dad44aef2733e5d2d6cd55364510e724ece9558040ddeb487c' 
  AND token = '30IuxGLvncRBp4ooHL5tiTE31qhOrdBXAWPik9AObSg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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